Text File | 1996-08-20 | 919 b | 10 lines | [TEXT/ttxt]
The sample Open Firmware display driver includes support for a proposed extension of the base Open Firmware (IEEE Std 1275-1994) that adds 16-color support.
Several new device-driver (i.e., FCode) methods are defined in the extension including those that access the CLUT (set-colors, get-colors, color!, color@) and those that provide very minimal "bit-blit" capability for Client programs (draw-rectangle, read-rectangle, fill-rectangle). The card indicates its comformance to this extension by publishing a new standard property ("iso6429-1983-colors") so that the Terminal Emulator and Client programs can know what to do.
It is highly recommended that all PCI "display" cards implement the extensions!!!
Note that this version of the FCode uses a "trick" to determine if the Open Firmware upon which it is running supports the 16-color extensions. Look at the OPEN method for the details.